# $Id: PKGBUILD 150382 2012-02-17 10:30:21Z allan $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Hussam Al-Tayeb <ht990332@gmail.com>

pkgname=xalan-java
pkgver=2.7.1
pkgrel=4
pkgdesc="XSLT processor for transforming XML documents into HTML, text, or other XML document types"
arch=('any')
license=('APACHE')
url="http://xml.apache.org/xalan-j"
depends=('xerces2-java')
source=(http://mirror.softaculous.com/apache//xml/xalan-j/xalan-j_${pkgver//./_}-bin-2jars.tar.gz)
md5sums=('3ccda39bcd08b780436dfd2f22fb23d5')

package() {
  cd ${srcdir}/xalan-j_${pkgver//./_}
  install -m755 -d ${pkgdir}/usr/share/java
  install -m644 xalan.jar ${pkgdir}/usr/share/java/
  install -m644 xsltc.jar ${pkgdir}/usr/share/java/
}
